package com.example.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.entity.Userlogin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;
@Mapper
@Repository
public interface UserMapper extends BaseMapper<Userlogin> {
  // @Select("select * from userlogin")
    //public List<Userlogin> find();
//
   // @Insert("insert into user value(#{user_id},#{user_password},#{user_identity})")
    //public int insert(Userlogin userlogin);

/*
    @Select("select * from userlogin where user_id = #{user_id} and user_password = #{user_password} ")
    Userlogin getUserByIdAndPassword(@Param("user_id")String user_id,@Param("user_password")String user_password);*/

}






